CMAKE_MINIMUM_REQUIRED(VERSION 2.8)

include_directories(${COMN_DIR}/include)
include_directories(include)
include_directories(.)

include_directories(${DIR_FFMPEG}/include)
include_directories(${THIRD_PARTY}/sqlite/include)


if (MSVC)
include_directories(${THIRD_PARTY}/stdint)
endif()

include_directories(${PROJECT_ROOT}/MediaStorage)

link_directories(${COMN_DIR}/lib)
link_directories(${PROJECT_ROOT}/lib)
link_directories(${THIRD_PARTY}/sqlite/lib)


aux_source_directory(. SOURCES)

add_library(RecordStore SHARED ${SOURCES})

target_link_libraries(RecordStore
	${LIB_PLATFORM}
	debug comnd optimized comn
	sqlite3
	
	)

set_target_properties(RecordStore PROPERTIES LINK_INTERFACE_LIBRARIES "")
set_target_properties(RecordStore PROPERTIES INTERFACE_LINK_LIBRARIES "")


